/**
 * Copyright (c) 2011 duowan.com. 
 * All Rights Reserved.
 * This program is the confidential and proprietary information of 
 * duowan. ("Confidential Information").  You shall not disclose such
 * Confidential Information and shall use it only in accordance with
 * the terms of the license agreement you entered into with duowan.com.
 */
package com.superhelper.app.domain;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author duanyunfeng
 * 
 */
public class BuyOrder {
    private Long id;// '订单ID',
    private String buyOrderCode;// '订单编号',
    private Integer orderType;// '订单类型 0 内部购买 1 外部购买',
    private BigDecimal oriMoney;// '原始金额',
    private String orderName;// '订单的名称，eg:购买雅思啥啥课程',
    private BigDecimal discMoney;// '优惠金额',
    private BigDecimal money;// '成交金额',
    private BigDecimal payed; // 已支付金额
    private String orderFrom;// '订单来源',
    private Integer userType;// '0 edg类型 1 匿名',
    private String uid;// '账号信息 accType是0则为yyuid',
    private Integer state;// '订单状态 0 未支付 1 订单取消 100 支付部分 110 成功支付 200 申请退款 210
                          // 退款审批通过 220 退款审批不通过 230 退款失败 240 部分退款成功 250 全部退款成功
                          // 900 出仓中 910 部分出仓 990 成功出仓',
    private String stateMsg;// '状态描述',
    private String ip;// ,
    private Date createAt;// '创建时间',
    private Date updateAt;// '最后更新时间',

    private String status;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getBuyOrderCode() {
        return buyOrderCode;
    }

    public void setBuyOrderCode(String buyOrderCode) {
        this.buyOrderCode = buyOrderCode;
    }

    public Integer getOrderType() {
        return orderType;
    }

    public void setOrderType(Integer orderType) {
        this.orderType = orderType;
    }

    public BigDecimal getOriMoney() {
        return oriMoney;
    }

    public void setOriMoney(BigDecimal oriMoney) {
        this.oriMoney = oriMoney;
    }

    public String getOrderName() {
        return orderName;
    }

    public void setOrderName(String orderName) {
        this.orderName = orderName;
    }

    public BigDecimal getDiscMoney() {
        return discMoney;
    }

    public void setDiscMoney(BigDecimal discMoney) {
        this.discMoney = discMoney;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    public BigDecimal getPayed() {
        return payed;
    }

    public void setPayed(BigDecimal payed) {
        this.payed = payed;
    }

    public String getOrderFrom() {
        return orderFrom;
    }

    public void setOrderFrom(String orderFrom) {
        this.orderFrom = orderFrom;
    }

    public Integer getUserType() {
        return userType;
    }

    public void setUserType(Integer userType) {
        this.userType = userType;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getStateMsg() {
        return stateMsg;
    }

    public void setStateMsg(String stateMsg) {
        this.stateMsg = stateMsg;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public Date getCreateAt() {
        return createAt;
    }

    public void setCreateAt(Date createAt) {
        this.createAt = createAt;
    }

    public Date getUpdateAt() {
        return updateAt;
    }

    public void setUpdateAt(Date updateAt) {
        this.updateAt = updateAt;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

}
